package com.example.springjishi.service.impl;


import com.example.springjishi.mapper.CarTypeMapper;
import com.example.springjishi.pojo.CarType;
import com.example.springjishi.service.CarTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CarTypeServiceImpl implements CarTypeService {

    @Autowired
    private CarTypeMapper carTypeMapper;

    @Override
    public List<CarType> selectCarTypes() {
        return carTypeMapper.selectCarTypes();
    }
}
